<div id="stylized-form">
	<h2><!--[gt text='Agency Form']--></h2>
	<div class="wrapper-block">
		<ul>
    <table border="1">
		<!--[foreach from=$objectArray item=agencyList]-->          
      <tr>
          <td> <!--[$agencyList.id ]--> </td>
          <td> <!--[$agencyList.agencyGroup_title ]--> </td>
          <td> <!--[$agencyList.companyName ]--> </td>
          <td> <!--[$agencyList.licenseNumber ]--> </td>
          <td> <!--[$agencyList.telephone ]--> </td>
          <td> <!--[$agencyList.fax  ]--> </td>
          <td> <!--[$agencyList.email  ]--> </td>
          <td> <!--[$agencyList.website  ]--> </td>
          <td> <!--[$agencyList.address  ]--> </td>
          <td> <!--[$agencyList.city  ]--> </td>
          <td> <!--[$agencyList.state  ]--> </td>
          <td> <!--[$agencyList.country  ]--> </td>
          <td> <!--[$agencyList.post ]--> </td>
          <td> <!--[$agencyList.specialDetail ]--> </td>
          <td> 
          <!--[if $agencyList.isActive eq 1 ]-->
              <!--[gt text='Active']-->
          <!--[else]-->
              <!--[gt text='Reactive']-->
          <!--[/if]-->
          </td>
          <td> <a href="<!--[pnmodurl modname='spaservice' type='admin' func='form' ctrl=agency id=$agencyList.id ]-->">Edit</a>|<a href="<!--[pnmodurl modname='spaservice' type='admin' func='delete' ctrl=agency id=$agencyList.id ]-->">Delete</a>|<a href="<!--[pnmodurl modname='spaservice' type='admin' func='view' ctrl=agency id=$agencyList.id ]-->">View</a> </td>
      </tr>    	
		 <!--[/foreach]-->
     </table>
		</ul>		 
	</div>
</div>